package cn.cs.service;


import cn.cs.common.Page;
import cn.cs.pojo.SetPolicy;

import java.util.List;
import java.util.Map;

public interface SetPolicyService {

    public SetPolicy getSetPolicyById(String id) throws Exception;

    public List<SetPolicy> getSetPolicyListByMap(Map<String, Object> param) throws Exception;

    public Integer getSetPolicyCountByMap(Map<String, Object> param) throws Exception;

    public Integer addSetPolicy(SetPolicy setPolicy) throws Exception;

    public Integer modifySetPolicy(SetPolicy setPolicy) throws Exception;

    public Integer deleteSetPolicyById(Long id) throws Exception;

    public Page<SetPolicy> querySetPolicyPageByMap(Map<String, Object> param, Integer pageNo, Integer pageSize) throws Exception;
}
